export function setItem (name, item, option = 0) {
  localStorage.setItem(name, item)
  if (option > 0) {
    setTimeout(() => {
      localStorage.removeItem(name)
    }, option * 1000)
  }
}
